const {exec, spawn} = require("child_process");

var showChild = spawn("node",["exec-child.js"]);
showChild.stdout.on("data",(chunk)=>{
    console.log(chunk);
})